package so.ruo.api;

import java.io.Serializable;

/**
 * 代理服务器
 * 
 * @author http://www.710.so
 * 
 */
public class Proxy implements Serializable{
	private static final long serialVersionUID = -6272623949706496849L;
	private String ip;// IP
	private int port;// 端口
	private ProxyType type;// 类型 HTTP, HTTPS

	public Proxy() {

	}

	public Proxy(String ip, int port, ProxyType type) {
		this.ip = ip;
		this.port = port;
		this.type = type;
	}

	public String getIp() {
		return ip;
	}

	public void setIp(String ip) {
		this.ip = ip;
	}

	public int getPort() {
		return port;
	}

	public void setPort(int port) {
		this.port = port;
	}

	public ProxyType getType() {
		return type;
	}

	public void setType(ProxyType type) {
		this.type = type;
	}

}
